import styled from "styled-components";
import playBg from '../../../assets/images/play.png'

export const MvListBox = styled.div`
  background-color: #fafafa;
  padding: 30px 0;
      main{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;

      }
      .main_item{
      height: 206px;
      width: 224px;
      /* background-color: red; */
      font-size: 14px;
      color: #000000;
      margin-bottom: 20px;
      a{
        position: relative;
        display: block;
        width: 224px;
        height: 127px;
        &:hover{
          img {
            filter: brightness(55%);
          }
          .main_item_pic_play{
            background: url(${playBg}) center/80px no-repeat;
            opacity: 1;
          }
        }
        img{
          /* 遮罩层 */
          transition: all .4s; 
        }
        .main_item_pic_play{
          /* transform-origin: center; */
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%,-50%);
          width: 80px;
          height: 80px;
          background: url(${playBg}) center/40px no-repeat;
          opacity: 0;
          transition: all .4s;
      }
      }
      .main_item_name{
        margin-top: 10px;
        &:hover{
          cursor: pointer;
          color: #31c27c;
        }
      }
      .main_item_author{
        color: #999999;
        margin-bottom: 5px;
        &:hover{
          cursor: pointer;
          color: #31c27c;
        }
      }
      .anticon-video-camera{
        font-size: 20px;
        color: #999999;
      }
      .main_item_footer{
        display: flex;
        height: 24px;
        align-items: center;
        color: #999999;
        .anticon-video-camera{
          color: #999999;
          font-size: 20px;
          margin-right: 6px;
        }
      }
    }

  .gujiaping{
    display: flex;
    justify-content: space-around;
  }
`

